<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
<h3>Login</h3>
<?php echo form_open('login/custlogin');?>
    <label for="email">email:</label>
    <input type="text" name="email"/>
    <br/>
    
    <label for="email">password:</label>
    <input type="password" name="password"/>
    <br/>
    
    <button type="submit">Submit</button>
</form>

<hr/>
<h3>Register</h3>
<?php echo form_open('login/register');?>
    <label for="customer_name">name:</label>
    <input type="text" name="customer_name"/>
    <br/>

    <label for="email">email:</label>
    <input type="text" name="email"/>
    <br/>
    
    <label for="email">password:</label>
    <input type="password" name="password"/>
    <br/>
    
    <button type="submit">Submit</button>
</form>